package cn.zhou.system.domain;

import cn.zhou.basic.domain.Base;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author me
 * @since 2022-06-21
 */
@Data
public class Menu extends Base{

    private static final long serialVersionUID = 1L;

        private String name;
        private String component;
        private String url;
        private String icon;
        private Integer index;
        private Long parentId;
        private String intro;
        private Boolean state;
        @JsonInclude(JsonInclude.Include.NON_EMPTY)
        private List<Menu> children = new ArrayList<>();



}
